package com.yj.model;

import java.io.Serializable;
import java.util.Set;

public class Classes implements Serializable{

	private static final long serialVersionUID = 1L;
	
	private Integer id;
	private Academy academy;
	private String name;
	private Set<Student> students;
	
	public Classes() {
	}
	
	
	public Classes(Academy academy, String name, Set<Student> students) {
		this.academy = academy;
		this.name = name;
		this.students = students;
	}


	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Academy getAcademy() {
		return academy;
	}
	public void setAcademy(Academy academy) {
		this.academy = academy;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public Set<Student> getStudents() {
		return students;
	}


	public void setStudents(Set<Student> students) {
		this.students = students;
	}

}
